@echo off
title PC-COMMAND-PANEL
set userPath=.\environment

REM package
rem call mvn clean install -Dmaven.test.skip=true

rem del file
rmdir PC-COMMAND-PANEL /s /q

rem create README.txt
mkdir PC-COMMAND-PANEL

copy /y .\start.bat PC-COMMAND-PANEL
copy /y .\reset-environment.bat PC-COMMAND-PANEL
copy /y .\set-environment.bat PC-COMMAND-PANEL
copy /y .\README.txt PC-COMMAND-PANEL
xcopy /y .\target\*.jar  PC-COMMAND-PANEL\ /s
xcopy /y .\environment  PC-COMMAND-PANEL\environment /s /i

%userPath%\7z\7z  a PC-COMMAND-PANEL\PC-COMMAND-PANEL.zip PC-COMMAND-PANEL
echo.
echo -------completed!--------
choice /t 2 /d y /n >nul